package com.games.game.bean;

public class Game {
    private int id;
    private String name;
    private String main_photo;
    private String sub_photo;
    private float score;
    private int price;
    private String description;
    private int purchase_time = 0;
    private String category;

    public Game(){}

    public Game(String name, String category, String description, int price,
                String main_photo, String sub_photo, float score, int purchase_time) {
        this.name = name;
        this.category = category;
        this.main_photo = main_photo;
        this.sub_photo = sub_photo;
        this.price = price;
        this.score = score;
        this.description = description;
        this.purchase_time = purchase_time;
    }

    public int getId() { return id; }

    public String getName() { return name; }

    public void setName(String name) { this.name = name; }

    public void setId(int id) { this.id = id; }

    public float getScore() {
        return score;
    }

    public int getPrice() {
        return price;
    }

    public int getPurchase_time() {
        return purchase_time;
    }

    public String getMain_photo() {
        return main_photo;
    }

    public String getSub_photo() { return sub_photo; }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setMain_photo(String photo) {
        this.main_photo = photo;
    }

    public void setSub_photo(String sub_photo) { this.sub_photo = sub_photo; }

    public void setPrice(int price) {
        this.price = price;
    }

    public void setPurchase_time(int purchase_time) {
        this.purchase_time = purchase_time;
    }

    public void setScore(float score) {
        this.score = score;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    //    @Override
//    public String toString() {
//        return id + " " + name;
//    }
}
